package com.sxmmall.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.sxmmall.common.utils.PageUtils;
import com.sxmmall.product.entity.SpuInfoDescEntity;
import com.sxmmall.product.entity.SpuInfoEntity;
import com.sxmmall.product.vo.SpuSaveVo;

import java.util.Map;

/**
 * spu
 *
 * @author sxm
 * @email 1125400943@qq.com
 * @date 2021-07-06 21:31:03
 */
public interface SpuInfoService extends IService<SpuInfoEntity> {

    PageUtils queryPage(Map<String, Object> params);

    void saveSpuInfo(SpuSaveVo spuSaveVo);

    void saveBatchSpuInfo(SpuInfoEntity spuInfo);

    void saveSpuInfoDesc(SpuInfoDescEntity spuInfoDescEntity);

    PageUtils queryPageByCondition(Map<String, Object> params);

    /*
     * @Author sxm
     * @Description spu信息上架
     * @Date 10:01 2021/10/8
     * @Param [spuId]
     * @return [java.lang.Long]
     **/
    void spuUp(Long spuId);
}

